<@html>
<script type="text/javascript">
	dojo.require("dijit.dijit");
	dojo.require("dijit.form.Form");
	dojo.require("dijit.form.DateTextBox");
	dojo.require("dijit.form.Button");
	dojo.require("dijit.form.ValidationTextBox");
	dojo.require("dijit.form.CheckBox");
</script>
<form id="updateForm" method="post" dojoType="dijit.form.Form">
<input type="hidden" id="version" name="customer.version"
       value="${(customer.version)!}"/>
<input type="hidden" id="customer" name="customer.id"
       value="${(customer.id)!}"/>
<input type="hidden" id="customer.customerDetail" name="customer.customerDetail.id"
       value="${(customer.customerDetail.id)!}"/>
<input type="hidden" id="customer.customerSetting" name="customer.customerSetting.id"
       value="${(customer.customerSetting.id)!}"/>
<table>
<tr>
	<td>
	<@s.text name="code"/>：
	</td>
	<td>
		<input id="code" name="customer.code" dojoType="dijit.form.ValidationTextBox" required="true"
		       value="${(customer.code)!}"/>
	</td>
	<td>
	<@s.text name="name"/>：
	</td>
	<td>
		<input id="name" name="customer.name" dojoType="dijit.form.ValidationTextBox" required="true"
		       value="${(customer.name)!}"/>
	</td>
	<td>
	<@s.text name="type"/>：
	</td>
	<td>
		<input id="type" name="customer.type" dojoType="dijit.form.ValidationTextBox" value="${(customer.type)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="spell"/>：
	</td>
	<td>
		<input id="spell" name="customer.spell" dojoType="dijit.form.ValidationTextBox" required="true"
		       value="${(customer.spell)!}"/>
	</td>
	<td>
	<@s.text name="ename"/>：
	</td>
	<td>
		<input id="ename" name="customer.ename" dojoType="dijit.form.ValidationTextBox" value="${(customer.ename)!}"/>
	</td>
	<td>
	<@s.text name="helpCode"/>：
	</td>
	<td>
		<input id="helpCode" name="customer.helpCode" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.helpCode)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="creditLevel"/>：
	</td>
	<td>
		<input id="creditLevel" name="customer.creditLevel" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.creditLevel)!}"/>
	</td>
	<td>
	<@s.text name="minStock"/>：
	</td>
	<td>
		<input id="minStock" name="customer.minStock" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.minStock)!}"/>
	</td>
	<td>
	<@s.text name="address"/>：
	</td>
	<td>
		<input id="address" name="customer.address" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.address)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="provice"/>：
	</td>
	<td>
		<input id="provice" name="customer.provice" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.provice)!}"/>
	</td>
	<td>
	<@s.text name="city"/>：
	</td>
	<td>
		<input id="city" name="customer.city" dojoType="dijit.form.ValidationTextBox" value="${(customer.city)!}"/>
	</td>
	<td>
	<@s.text name="area"/>：
	</td>
	<td>
		<input id="area" name="customer.area" dojoType="dijit.form.ValidationTextBox" value="${(customer.area)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="postcode"/>：
	</td>
	<td>
		<input id="postcode" name="customer.postcode" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.postcode)!}"/>
	</td>
	<td>
	<@s.text name="isOutlocfee"/>：
	</td>
	<td>
	<@checkbox id="isOutlocfee" name="customer.isOutlocfee" value=customer.isOutlocfee/>
	</td>
	<td>
	<@s.text name="monadPrefix"/>：
	</td>
	<td>
		<input id="monadPrefix" name="customer.monadPrefix" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.monadPrefix)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="inPrefix"/>：
	</td>
	<td>
		<input id="inPrefix" name="customer.inPrefix" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.inPrefix)!}"/>
	</td>
	<td>
	<@s.text name="outPrefix"/>：
	</td>
	<td>
		<input id="outPrefix" name="customer.outPrefix" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.outPrefix)!}"/>
	</td>
	<td>
	<@s.text name="contact1"/>：
	</td>
	<td>
		<input id="contact1" name="customer.contact1" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contact1)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="contactTel11"/>：
	</td>
	<td>
		<input id="contactTel11" name="customer.contactTel11" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactTel11)!}"/>
	</td>
	<td>
	<@s.text name="contactTel12"/>：
	</td>
	<td>
		<input id="contactTel12" name="customer.contactTel12" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactTel12)!}"/>
	</td>
	<td>
	<@s.text name="contactMobile1"/>：
	</td>
	<td>
		<input id="contactMobile1" name="customer.contactMobile1" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactMobile1)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="contactEmail1"/>：
	</td>
	<td>
		<input id="contactEmail1" name="customer.contactEmail1" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactEmail1)!}"/>
	</td>
	<td>
	<@s.text name="contactFax1"/>：
	</td>
	<td>
		<input id="contactFax1" name="customer.contactFax1" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactFax1)!}"/>
	</td>
	<td>
	<@s.text name="contact2"/>：
	</td>
	<td>
		<input id="contact2" name="customer.contact2" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contact2)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="contactTel21"/>：
	</td>
	<td>
		<input id="contactTel21" name="customer.contactTel21" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactTel21)!}"/>
	</td>
	<td>
	<@s.text name="contactTel22"/>：
	</td>
	<td>
		<input id="contactTel22" name="customer.contactTel22" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactTel22)!}"/>
	</td>
	<td>
	<@s.text name="contactMobile2"/>：
	</td>
	<td>
		<input id="contactMobile2" name="customer.contactMobile2" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactMobile2)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="contactEmail2"/>：
	</td>
	<td>
		<input id="contactEmail2" name="customer.contactEmail2" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactEmail2)!}"/>
	</td>
	<td>
	<@s.text name="contactFax2"/>：
	</td>
	<td>
		<input id="contactFax2" name="customer.contactFax2" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactFax2)!}"/>
	</td>
	<td>
	<@s.text name="contact3"/>：
	</td>
	<td>
		<input id="contact3" name="customer.contact3" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contact3)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="contactTel31"/>：
	</td>
	<td>
		<input id="contactTel31" name="customer.contactTel31" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactTel31)!}"/>
	</td>
	<td>
	<@s.text name="contactTel32"/>：
	</td>
	<td>
		<input id="contactTel32" name="customer.contactTel32" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactTel32)!}"/>
	</td>
	<td>
	<@s.text name="contactMobile3"/>：
	</td>
	<td>
		<input id="contactMobile3" name="customer.contactMobile3" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactMobile3)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="contactEmail3"/>：
	</td>
	<td>
		<input id="contactEmail3" name="customer.contactEmail3" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactEmail3)!}"/>
	</td>
	<td>
	<@s.text name="contactFax3"/>：
	</td>
	<td>
		<input id="contactFax3" name="customer.contactFax3" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.contactFax3)!}"/>
	</td>
</tr>
</table>
<div dojoType="dijit.layout.TabContainer" style="width:100%;height:300px;">
<div dojoType="dijit.layout.ContentPane" title="客户详细信息表">
<table>
<tr>
	<td>
	<@s.text name="website"/>：
	</td>
	<td>
		<input id="website" name="customer.customerDetail.website" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.website)!}"/>
	</td>
	<td>
	<@s.text name="companyAddr"/>：
	</td>
	<td>
		<input id="companyAddr" name="customer.customerDetail.companyAddr" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.companyAddr)!}"/>
	</td>
	<td>
	<@s.text name="enterpriseEnrolNum"/>：
	</td>
	<td>
		<input id="enterpriseEnrolNum" name="customer.customerDetail.enterpriseEnrolNum"
		       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerDetail.enterpriseEnrolNum)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="workNo"/>：
	</td>
	<td>
		<input id="workNo" name="customer.customerDetail.workNo" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.workNo)!}"/>
	</td>
	<td>
	<@s.text name="companyType"/>：
	</td>
	<td>
		<input id="companyType" name="customer.customerDetail.companyType" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.companyType)!}"/>
	</td>
	<td>
	<@s.text name="regCapital"/>：
	</td>
	<td>
		<input id="regCapital" name="customer.customerDetail.regCapital" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.regCapital)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="legalPerson"/>：
	</td>
	<td>
		<input id="legalPerson" name="customer.customerDetail.legalPerson" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.legalPerson)!}"/>
	</td>
	<td>
	<@s.text name="aptitudeName"/>：
	</td>
	<td>
		<input id="aptitudeName" name="customer.customerDetail.aptitudeName" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.aptitudeName)!}"/>
	</td>
	<td>
	<@s.text name="aptitudeNo"/>：
	</td>
	<td>
		<input id="aptitudeNo" name="customer.customerDetail.aptitudeNo" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.aptitudeNo)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="workRang"/>：
	</td>
	<td>
		<input id="workRang" name="customer.customerDetail.workRang" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.workRang)!}"/>
	</td>
	<td>
	<@s.text name="accountDate"/>：
	</td>
	<td>
		<input id="accountDate" name="customer.customerDetail.accountDate" dojoType="dijit.form.DateTextBox"
		       value="${getDate(customer.customerDetail.accountDate)}"
		       value="${(customer.customerDetail.accountDate)!}"/>
	</td>
	<td>
	<@s.text name="locArea"/>：
	</td>
	<td>
		<input id="locArea" name="customer.customerDetail.locArea" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.locArea)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="feeType"/>：
	</td>
	<td>
		<input id="feeType" name="customer.customerDetail.feeType" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.feeType)!}"/>
	</td>
	<td>
	<@s.text name="locFee"/>：
	</td>
	<td>
		<input id="locFee" name="customer.customerDetail.locFee" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.locFee)!}"/>
	</td>
	<td>
	<@s.text name="sellQuantity"/>：
	</td>
	<td>
		<input id="sellQuantity" name="customer.customerDetail.sellQuantity" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.sellQuantity)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="enterpriseFoundDate"/>：
	</td>
	<td>
		<input id="enterpriseFoundDate" name="customer.customerDetail.enterpriseFoundDate"
		       dojoType="dijit.form.DateTextBox" value="${getDate(customer.customerDetail.enterpriseFoundDate)}"
		       value="${(customer.customerDetail.enterpriseFoundDate)!}"/>
	</td>
	<td>
	<@s.text name="employeeTotal"/>：
	</td>
	<td>
		<input id="employeeTotal" name="customer.customerDetail.employeeTotal" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.employeeTotal)!}"/>
	</td>
	<td>
	<@s.text name="judgeResult"/>：
	</td>
	<td>
		<input id="judgeResult" name="customer.customerDetail.judgeResult" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.judgeResult)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="firstDealDate"/>：
	</td>
	<td>
		<input id="firstDealDate" name="customer.customerDetail.firstDealDate" dojoType="dijit.form.DateTextBox"
		       value="${getDate(customer.customerDetail.firstDealDate)}"
		       value="${(customer.customerDetail.firstDealDate)!}"/>
	</td>
	<td>
	<@s.text name="lastDealDate"/>：
	</td>
	<td>
		<input id="lastDealDate" name="customer.customerDetail.lastDealDate" dojoType="dijit.form.DateTextBox"
		       value="${getDate(customer.customerDetail.lastDealDate)}"
		       value="${(customer.customerDetail.lastDealDate)!}"/>
	</td>
	<td>
	<@s.text name="invoiceProvideUnit"/>：
	</td>
	<td>
		<input id="invoiceProvideUnit" name="customer.customerDetail.invoiceProvideUnit"
		       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerDetail.invoiceProvideUnit)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="mainOutputSort"/>：
	</td>
	<td>
		<input id="mainOutputSort" name="customer.customerDetail.mainOutputSort" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.mainOutputSort)!}"/>
	</td>
	<td>
	<@s.text name="taxId"/>：
	</td>
	<td>
		<input id="taxId" name="customer.customerDetail.taxId" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.taxId)!}"/>
	</td>
	<td>
	<@s.text name="bank1"/>：
	</td>
	<td>
		<input id="bank1" name="customer.customerDetail.bank1" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.bank1)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="accountNo1"/>：
	</td>
	<td>
		<input id="accountNo1" name="customer.customerDetail.accountNo1" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.accountNo1)!}"/>
	</td>
	<td>
	<@s.text name="bank2"/>：
	</td>
	<td>
		<input id="bank2" name="customer.customerDetail.bank2" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.bank2)!}"/>
	</td>
	<td>
	<@s.text name="accountNo2"/>：
	</td>
	<td>
		<input id="accountNo2" name="customer.customerDetail.accountNo2" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.accountNo2)!}"/>
	</td>
</tr>
<tr>
	<td>
	<@s.text name="remark"/>：
	</td>
	<td>
		<input id="remark" name="customer.customerDetail.remark" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.remark)!}"/>
	</td>
	<td>
	<@s.text name="isSupass"/>：
	</td>
	<td>
	<@checkbox id="isSupass" name="customer.customerDetail.isSupass" value=customer.customerDetail.isSupass/>
	</td>
	<td>
	<@s.text name="supassNub"/>：
	</td>
	<td>
		<input id="supassNub" name="customer.customerDetail.supassNub" dojoType="dijit.form.ValidationTextBox"
		       value="${(customer.customerDetail.supassNub)!}"/>
	</td>
</tr>
</table>
</div>
<div dojoType="dijit.layout.ContentPane" title="客户设置信息表">
	<table>
		<tr>
			<td>
			<@s.text name="dftPkgType"/>：
			</td>
			<td>
				<input id="dftPkgType" name="customer.customerSetting.dftPkgType"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftPkgType)!}"/>
			</td>
			<td>
			<@s.text name="dftPkgCode"/>：
			</td>
			<td>
				<input id="dftPkgCode" name="customer.customerSetting.dftPkgCode"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftPkgCode)!}"/>
			</td>
			<td>
			<@s.text name="dftRegRule"/>：
			</td>
			<td>
				<input id="dftRegRule" name="customer.customerSetting.dftRegRule"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftRegRule)!}"/>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="stockAssign"/>：
			</td>
			<td>
				<input id="stockAssign" name="customer.customerSetting.stockAssign"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.stockAssign)!}"/>
			</td>
			<td>
			<@s.text name="dftBatchType"/>：
			</td>
			<td>
				<input id="dftBatchType" name="customer.customerSetting.dftBatchType"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftBatchType)!}"/>
			</td>
			<td>
			<@s.text name="dftLocrevRule"/>：
			</td>
			<td>
				<input id="dftLocrevRule" name="customer.customerSetting.dftLocrevRule"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftLocrevRule)!}"/>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="dftPreAssignRule"/>：
			</td>
			<td>
				<input id="dftPreAssignRule" name="customer.customerSetting.dftPreAssignRule"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftPreAssignRule)!}"/>
			</td>
			<td>
			<@s.text name="dftAssignRule"/>：
			</td>
			<td>
				<input id="dftAssignRule" name="customer.customerSetting.dftAssignRule"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftAssignRule)!}"/>
			</td>
			<td>
			<@s.text name="dftSupplyRule"/>：
			</td>
			<td>
				<input id="dftSupplyRule" name="customer.customerSetting.dftSupplyRule"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftSupplyRule)!}"/>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="dftQtRule"/>：
			</td>
			<td>
				<input id="dftQtRule" name="customer.customerSetting.dftQtRule" dojoType="dijit.form.ValidationTextBox"
				       value="${(customer.customerSetting.dftQtRule)!}"/>
			</td>
			<td>
			<@s.text name="chargeRule"/>：
			</td>
			<td>
				<input id="chargeRule" name="customer.customerSetting.chargeRule"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.chargeRule)!}"/>
			</td>
			<td>
			<@s.text name="rateId"/>：
			</td>
			<td>
				<input id="rateId" name="customer.customerSetting.rateId" dojoType="dijit.form.ValidationTextBox"
				       value="${(customer.customerSetting.rateId)!}"/>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="settleId"/>：
			</td>
			<td>
				<input id="settleId" name="customer.customerSetting.settleId" dojoType="dijit.form.ValidationTextBox"
				       value="${(customer.customerSetting.settleId)!}"/>
			</td>
			<td>
			<@s.text name="carrierId"/>：
			</td>
			<td>
				<input id="carrierId" name="customer.customerSetting.carrierId" dojoType="dijit.form.ValidationTextBox"
				       value="${(customer.customerSetting.carrierId)!}"/>
			</td>
			<td>
			<@s.text name="firstOrderRule"/>：
			</td>
			<td>
				<input id="firstOrderRule" name="customer.customerSetting.firstOrderRule"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.firstOrderRule)!}"/>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="moneyType"/>：
			</td>
			<td>
				<input id="moneyType" name="customer.customerSetting.moneyType" dojoType="dijit.form.ValidationTextBox"
				       value="${(customer.customerSetting.moneyType)!}"/>
			</td>
			<td>
			<@s.text name="dftRecUnit"/>：
			</td>
			<td>
				<input id="dftRecUnit" name="customer.customerSetting.dftRecUnit"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.dftRecUnit)!}"/>
			</td>
			<td>
			<@s.text name="depShpUnit"/>：
			</td>
			<td>
				<input id="depShpUnit" name="customer.customerSetting.depShpUnit"
				       dojoType="dijit.form.ValidationTextBox" value="${(customer.customerSetting.depShpUnit)!}"/>
			</td>
		</tr>
		<tr>
			<td>
			<@s.text name="printUnit"/>：
			</td>
			<td>
				<input id="printUnit" name="customer.customerSetting.printUnit" dojoType="dijit.form.ValidationTextBox"
				       value="${(customer.customerSetting.printUnit)!}"/>
			</td>
			<td>
			<@s.text name="ediCode"/>：
			</td>
			<td>
				<input id="ediCode" name="customer.customerSetting.ediCode" dojoType="dijit.form.ValidationTextBox"
				       value="${(customer.customerSetting.ediCode)!}"/>
			</td>
			<td>
			<@s.text name="scope"/>：
			</td>
			<td>
				<input id="scope" name="customer.customerSetting.scope" dojoType="dijit.form.ValidationTextBox"
				       value="${(customer.customerSetting.scope)!}"/>
			</td>
		</tr>
	</table>
</div>
</div>
<@listButton/>
</form>
</@html>
<script language="javascript" type="text/javascript">
	dojo.ready(function() {
		//事件注册
		//保存
		dojo.connect(dijit.byId("btnSave"), "onClick", function() {
			//增加列表参数
			var param = dojo.formToObject("updateForm");
			if (dijit.byId("updateForm").validate()) {
				dojo.xhrPost({
							url : "${(path)!}/master/customer.update.do",
							content : param,
							handleAs : "json",
							load : function(json) {
								handleJsonMessage({
											message:json,
											callback:function() {
												parent.publish("customer/refresh");
												parent.closeDialog();
											}
										})
							}
						});
			}
		});
	})
</script>
